package org.dromara.iot.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.tenant.core.TenantEntity;

import java.io.Serial;

/**
 * 电梯保养记录对象 iot_upkeep_record
 *
 * @author lsl
 * @date 2024-06-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("iot_upkeep_record")
public class IotUpkeepRecord extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    @TableId(value = "record_id")
    private Long recordId;

    /**
     * 关联保养ID
     */
    private Long upkeepId;

    /**
     * 提交人ID
     */
    private Long referUserId;

    /**
     * 审核人ID
     */
    private Long auditUserId;

    /**
     * 审核状态（1.通过，2.不通过）
     */
    private String auditStatus;

    /**
     * 评分
     */
    private String scoreMark;

    /**
     * 审核意见
     */
    private String auditIdea;

    /**
     * 备注
     */
    private String remark;


}
